package cn.ytzb.service;

import cn.ytzb.mapper.AdminMapper;
import cn.ytzb.pojo.Admin;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author XiaoMo
 * @Date 2022/3/15 11:24
 * @Version 1.0
 */
@Service
public class AdminServiceImpl implements AdminService {

    @Resource
    private AdminMapper adminMapper;

    @Override
    public Admin findById(int id) {
        return adminMapper.findById(id);
    }
}
